$(function(){
	var header_banner = new Swiper ('.swiper-banner', {
	    loop: true,
		autoplay: 3000,//可选选项，自动滑动
	    // 如果需要分页器
	    // pagination: '.swiper-pagination',
	  })        
	  
	var swiper = new Swiper('.solve-container', {
		nextButton: '.solve-next',
		prevButton: '.solve-prev'
	});
	  var swiper = new Swiper('.news-container', {
	   loop: true,
		  slidesPerView: 2,
		  spaceBetween: 20,
		  nextButton: '.news-next',
		  prevButton: '.news-prev'
	  });
	  $('.about-img .more').click(function(){
		  window.location.href='about.html'
	  })
	  $('.jiejue').click(function(){
	  		  window.location.href='solution.html'
	  })
	  
	  $('.solve .solve-banner .solve-slide').each((item)=>{
	  	$('.solve .solve-banner .solve-slide').eq(item).click(function(){
	  		var index = item+1
	  		window.location.href='solution'+index+'.html'
	  	})
	  })
	  $('.product-center .pro-item .dl').each((item)=>{
	  	$('.product-center .pro-item .dl').eq(item).click(function(){
	  		window.location.href='product.html'
	  		localStorage.setItem('proIndex',item)
	  	})
	  })
})